package ylsb.model;

import java.util.ArrayList;
import java.util.List;

public class YltpBaofeiExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YltpBaofeiExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNull() {
            addCriterion("shiyongkeshi is null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNotNull() {
            addCriterion("shiyongkeshi is not null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiEqualTo(String value) {
            addCriterion("shiyongkeshi =", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotEqualTo(String value) {
            addCriterion("shiyongkeshi <>", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThan(String value) {
            addCriterion("shiyongkeshi >", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi >=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThan(String value) {
            addCriterion("shiyongkeshi <", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi <=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLike(String value) {
            addCriterion("shiyongkeshi like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotLike(String value) {
            addCriterion("shiyongkeshi not like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIn(List<String> values) {
            addCriterion("shiyongkeshi in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotIn(List<String> values) {
            addCriterion("shiyongkeshi not in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiBetween(String value1, String value2) {
            addCriterion("shiyongkeshi between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotBetween(String value1, String value2) {
            addCriterion("shiyongkeshi not between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIsNull() {
            addCriterion("shebeimingcheng is null");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIsNotNull() {
            addCriterion("shebeimingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengEqualTo(String value) {
            addCriterion("shebeimingcheng =", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotEqualTo(String value) {
            addCriterion("shebeimingcheng <>", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengGreaterThan(String value) {
            addCriterion("shebeimingcheng >", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengGreaterThanOrEqualTo(String value) {
            addCriterion("shebeimingcheng >=", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLessThan(String value) {
            addCriterion("shebeimingcheng <", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLessThanOrEqualTo(String value) {
            addCriterion("shebeimingcheng <=", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLike(String value) {
            addCriterion("shebeimingcheng like", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotLike(String value) {
            addCriterion("shebeimingcheng not like", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIn(List<String> values) {
            addCriterion("shebeimingcheng in", values, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotIn(List<String> values) {
            addCriterion("shebeimingcheng not in", values, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengBetween(String value1, String value2) {
            addCriterion("shebeimingcheng between", value1, value2, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotBetween(String value1, String value2) {
            addCriterion("shebeimingcheng not between", value1, value2, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoIsNull() {
            addCriterion("guigexinghao is null");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoIsNotNull() {
            addCriterion("guigexinghao is not null");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoEqualTo(String value) {
            addCriterion("guigexinghao =", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoNotEqualTo(String value) {
            addCriterion("guigexinghao <>", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoGreaterThan(String value) {
            addCriterion("guigexinghao >", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoGreaterThanOrEqualTo(String value) {
            addCriterion("guigexinghao >=", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoLessThan(String value) {
            addCriterion("guigexinghao <", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoLessThanOrEqualTo(String value) {
            addCriterion("guigexinghao <=", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoLike(String value) {
            addCriterion("guigexinghao like", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoNotLike(String value) {
            addCriterion("guigexinghao not like", value, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoIn(List<String> values) {
            addCriterion("guigexinghao in", values, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoNotIn(List<String> values) {
            addCriterion("guigexinghao not in", values, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoBetween(String value1, String value2) {
            addCriterion("guigexinghao between", value1, value2, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andGuigexinghaoNotBetween(String value1, String value2) {
            addCriterion("guigexinghao not between", value1, value2, "guigexinghao");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiIsNull() {
            addCriterion("shebeijiazhi is null");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiIsNotNull() {
            addCriterion("shebeijiazhi is not null");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiEqualTo(String value) {
            addCriterion("shebeijiazhi =", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiNotEqualTo(String value) {
            addCriterion("shebeijiazhi <>", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiGreaterThan(String value) {
            addCriterion("shebeijiazhi >", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiGreaterThanOrEqualTo(String value) {
            addCriterion("shebeijiazhi >=", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiLessThan(String value) {
            addCriterion("shebeijiazhi <", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiLessThanOrEqualTo(String value) {
            addCriterion("shebeijiazhi <=", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiLike(String value) {
            addCriterion("shebeijiazhi like", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiNotLike(String value) {
            addCriterion("shebeijiazhi not like", value, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiIn(List<String> values) {
            addCriterion("shebeijiazhi in", values, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiNotIn(List<String> values) {
            addCriterion("shebeijiazhi not in", values, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiBetween(String value1, String value2) {
            addCriterion("shebeijiazhi between", value1, value2, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShebeijiazhiNotBetween(String value1, String value2) {
            addCriterion("shebeijiazhi not between", value1, value2, "shebeijiazhi");
            return (Criteria) this;
        }

        public Criteria andShuliangIsNull() {
            addCriterion("shuliang is null");
            return (Criteria) this;
        }

        public Criteria andShuliangIsNotNull() {
            addCriterion("shuliang is not null");
            return (Criteria) this;
        }

        public Criteria andShuliangEqualTo(String value) {
            addCriterion("shuliang =", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotEqualTo(String value) {
            addCriterion("shuliang <>", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangGreaterThan(String value) {
            addCriterion("shuliang >", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangGreaterThanOrEqualTo(String value) {
            addCriterion("shuliang >=", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLessThan(String value) {
            addCriterion("shuliang <", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLessThanOrEqualTo(String value) {
            addCriterion("shuliang <=", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangLike(String value) {
            addCriterion("shuliang like", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotLike(String value) {
            addCriterion("shuliang not like", value, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangIn(List<String> values) {
            addCriterion("shuliang in", values, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotIn(List<String> values) {
            addCriterion("shuliang not in", values, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangBetween(String value1, String value2) {
            addCriterion("shuliang between", value1, value2, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShuliangNotBetween(String value1, String value2) {
            addCriterion("shuliang not between", value1, value2, "shuliang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangIsNull() {
            addCriterion("shengchanchangshang is null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangIsNotNull() {
            addCriterion("shengchanchangshang is not null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangEqualTo(String value) {
            addCriterion("shengchanchangshang =", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotEqualTo(String value) {
            addCriterion("shengchanchangshang <>", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangGreaterThan(String value) {
            addCriterion("shengchanchangshang >", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangGreaterThanOrEqualTo(String value) {
            addCriterion("shengchanchangshang >=", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangLessThan(String value) {
            addCriterion("shengchanchangshang <", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangLessThanOrEqualTo(String value) {
            addCriterion("shengchanchangshang <=", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangLike(String value) {
            addCriterion("shengchanchangshang like", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotLike(String value) {
            addCriterion("shengchanchangshang not like", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangIn(List<String> values) {
            addCriterion("shengchanchangshang in", values, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotIn(List<String> values) {
            addCriterion("shengchanchangshang not in", values, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangBetween(String value1, String value2) {
            addCriterion("shengchanchangshang between", value1, value2, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotBetween(String value1, String value2) {
            addCriterion("shengchanchangshang not between", value1, value2, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianIsNull() {
            addCriterion("caigoushijian is null");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianIsNotNull() {
            addCriterion("caigoushijian is not null");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianEqualTo(String value) {
            addCriterion("caigoushijian =", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianNotEqualTo(String value) {
            addCriterion("caigoushijian <>", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianGreaterThan(String value) {
            addCriterion("caigoushijian >", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianGreaterThanOrEqualTo(String value) {
            addCriterion("caigoushijian >=", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianLessThan(String value) {
            addCriterion("caigoushijian <", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianLessThanOrEqualTo(String value) {
            addCriterion("caigoushijian <=", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianLike(String value) {
            addCriterion("caigoushijian like", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianNotLike(String value) {
            addCriterion("caigoushijian not like", value, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianIn(List<String> values) {
            addCriterion("caigoushijian in", values, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianNotIn(List<String> values) {
            addCriterion("caigoushijian not in", values, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianBetween(String value1, String value2) {
            addCriterion("caigoushijian between", value1, value2, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andCaigoushijianNotBetween(String value1, String value2) {
            addCriterion("caigoushijian not between", value1, value2, "caigoushijian");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andLaiyuanIsNull() {
            addCriterion("laiyuan is null");
            return (Criteria) this;
        }

        public Criteria andLaiyuanIsNotNull() {
            addCriterion("laiyuan is not null");
            return (Criteria) this;
        }

        public Criteria andLaiyuanEqualTo(String value) {
            addCriterion("laiyuan =", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanNotEqualTo(String value) {
            addCriterion("laiyuan <>", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanGreaterThan(String value) {
            addCriterion("laiyuan >", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanGreaterThanOrEqualTo(String value) {
            addCriterion("laiyuan >=", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanLessThan(String value) {
            addCriterion("laiyuan <", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanLessThanOrEqualTo(String value) {
            addCriterion("laiyuan <=", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanLike(String value) {
            addCriterion("laiyuan like", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanNotLike(String value) {
            addCriterion("laiyuan not like", value, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanIn(List<String> values) {
            addCriterion("laiyuan in", values, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanNotIn(List<String> values) {
            addCriterion("laiyuan not in", values, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanBetween(String value1, String value2) {
            addCriterion("laiyuan between", value1, value2, "laiyuan");
            return (Criteria) this;
        }

        public Criteria andLaiyuanNotBetween(String value1, String value2) {
            addCriterion("laiyuan not between", value1, value2, "laiyuan");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}